package com.tledu.production.service.people;

import com.tledu.production.model.people.Department;
import com.tledu.production.model.people.Employee;

import java.util.List;

/**
 * @author Antg
 * @date 2021/8/17  11:10
 */
public interface IEmployeeService {
    //查询所有(带分页)
    List<Employee> findAll();
    //搜索(带分页)
    List<Employee> search(String type,String searchText);
    //添加
    int add(Employee employee);
    //编辑
    int edit(Employee employee);
    //删除(批量删除)
    int batchDel(String[] ids);
}
